package com.sds.replicator.modules;

import com.google.inject.servlet.ServletModule;
import com.sds.replicator.servlets.DynamicReplicator;
import com.sds.replicator.servlets.FacebookReplicator;
import com.sds.replicator.servlets.MobileFacebookReplicator;
import com.sds.replicator.servlets.TestServlet;

/**
 * Created by IntelliJ IDEA.
 * User: sdsbirdman
 * Date: 6/25/11
 * Time: 10:13 AM
 * To change this template use File | Settings | File Templates.
 */
public class ReplicatorModule extends ServletModule {
    @Override
    protected void configureServlets() {

        serve("/t/*").with(TestServlet.class);
        serve(FacebookReplicator.LOCAL_PATH).with(FacebookReplicator.class);
        serve(MobileFacebookReplicator.LOCAL_PATH).with(MobileFacebookReplicator.class);
        serve(DynamicReplicator.LOCAL_PATH).with(DynamicReplicator.class);
        super.configureServlets();
    }
}
